EnableScalingGroup
Description
call EnableScalingGroup to enable a scaling group.
Request Method
POST
Request Path
/apsara/route/Ess/EnableScalingGroup
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
ActiveScalingConfigurationId | BODY | string | No | No sample value for this parameter. | the id of the scaling configuration to be activated in the scaling group. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
ScalingGroupId | BODY | string | Yes | No sample value for this parameter. | ID of the scaling group. |
version | BODY | string | No | 2016-01-01 | version of api |
InstanceId.N | BODY | string | No | No sample value for this parameter. | The ID of the ECS instance that needs to be added to the scaling group when enabled. The value range of n is 1~20. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}